import Vue from 'vue'

import BarConfig from './bar'
import LineConfig from './line'
import PieConfig from './pie'
import Pie2Config from './pie2'
import CircleConfig from './circle'
import RadarConfig from './radar'
import TableConfig from './table'
import BaseConfig from './base'
import WordConfig from './word'
import MapConfig from './map'
import CbarConfig from './cbar'
import HotsConfig from './hots'
// 组件库
const Components = [
  BarConfig,
  LineConfig,
  CircleConfig,
  PieConfig,
  Pie2Config,
  RadarConfig,
  CbarConfig,
  BaseConfig,
  TableConfig,
  WordConfig,
  MapConfig,
  HotsConfig
]

// 注册全局组件
Components.map((com) =>{
  Vue.component(com.name, com)
})